package com.backstage.entity.vo;


import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangkun
 * @since 2017-11-16
 */
public class SysUserVO  implements Serializable{


	private static final long serialVersionUID = 1L;
	/**
     * 主键
     */
	private String id;
    /**
     * 账号
     */
	private String usercode;
    /**
     * 姓名
     */
	private String username;
    /**
     * 密码
     */
	private String password;
    /**
     * 盐
     */
	private String salt;
    /**
     * 账号是否锁定，1：锁定，0未锁定
     */
	private String locked;

	private List<SysPermissionVO> menus;// 菜单
	private List<SysPermissionVO> permissions;// 权限
	
	public List<SysPermissionVO> getMenus() {
		return menus;
	}

	public void setMenus(List<SysPermissionVO> menus) {
		this.menus = menus;
	}

	public List<SysPermissionVO> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<SysPermissionVO> permissions) {
		this.permissions = permissions;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsercode() {
		return usercode;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getLocked() {
		return locked;
	}

	public void setLocked(String locked) {
		this.locked = locked;
	}


	@Override
	public String toString() {
		return "SysUser{" +
			", id=" + id +
			", usercode=" + usercode +
			", username=" + username +
			", password=" + password +
			", salt=" + salt +
			", locked=" + locked +
			"}";
	}
}
